package top.yxqz.spring.ioc.pojo;

/**
 * @author: 余小小
 * @date: 2023/4/4
 * @description：
 */
public class Car {
    private Integer tyreNumber;//轮胎个数
    private String color;//颜色
    private String model;//型号

    public Car() {
    }

    public Car(Integer tyreNumber, String color, String model) {
        this.tyreNumber = tyreNumber;
        this.color = color;
        this.model = model;
    }

    /**
     * 获取
     * @return tyreNumber
     */
    public Integer getTyreNumber() {
        return tyreNumber;
    }

    /**
     * 设置
     * @param tyreNumber
     */
    public void setTyreNumber(Integer tyreNumber) {
        this.tyreNumber = tyreNumber;
    }

    /**
     * 获取
     * @return color
     */
    public String getColor() {
        return color;
    }

    /**
     * 设置
     * @param color
     */
    public void setColor(String color) {
        this.color = color;
    }

    /**
     * 获取
     * @return model
     */
    public String getModel() {
        return model;
    }

    /**
     * 设置
     * @param model
     */
    public void setModel(String model) {
        this.model = model;
    }

    public String toString() {
        return "Car{tyreNumber = " + tyreNumber + ", color = " + color + ", model = " + model + "}";
    }
}
